﻿
using Microsoft.VisualStudio.TeamArchitect.PowerTools.Features;


namespace FeatureBuilder.Contrib
{
	public partial class ProcessWorkflow : GuidanceWorkflow
	{
		protected override void OnInitialize()
		{
			base.OnInitialize();
			this.Name = "GuidanceWorkflow";

			var initial = new Initial
			{
				Name = "Initial1",
			};
			var guidanceAction0 = new GuidanceAction
			{
				Name = "How To: Use Feature Builder Contrib",
				Link = "content://./Content/ProcessGuidance/How To Use Feature Builder Contrib.mht",
			};
			var guidanceAction1 = new GuidanceAction
			{
				Name = "How To: Deploy Feature Builder Contrib",
				Link = "content://./Content/ProcessGuidance/How To Deploy Feature Builder Contrib.mht",
			};
			var fork0 = new Fork
			{
				Name = "Introduction",
				Link = "content://./Content/ProcessGuidance/Introduction.mht",
			};
			var join0 = new Join
			{
				Name = "Join1",
			};
			var final0 = new Final
			{
				Name = "ActivityFinal1",
			};

			this.ConnectTo(initial);
			initial.ConnectTo(fork0);
			guidanceAction0.ConnectTo(join0);
			guidanceAction1.ConnectTo(join0);
			fork0.ConnectTo(guidanceAction0);
			fork0.ConnectTo(guidanceAction1);
			join0.ConnectTo(final0);

			this.OnPostInitialize();
		}

		partial void OnPostInitialize();
	}
}
